home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 46 / CD Expert nº 46.iso / jogos / BlairW2 / Data.Cab / F3675_RR_DEMO.scr < prev    next >
Text File  |  2000-10-17  |  16KB  |  871 lines

  1. //default states setup
  2. idle
  3.  
  4. SetAlphaFade(1.0,0.0,1.0, 0.0,0.0,0.0)
  5. StartAlphaFade()
  6. setInventoryIndex(0)
  7.  
  8. idle
  9. addItemToInventory($, Gun)
  10. addItemToInventory($, Sword)
  11. addItemToInventory($, Ammo_RR6)
  12. addItemToInventory($, Ammo_RR7)
  13.  
  14. holsterWeapon($)
  15. gosub 86_camera_defaults
  16. setCounter(DeadRebels, 0)
  17. /////////////////////////////////////////////////////Added  8/23/2000
  18. goSub Sound
  19.  
  20.  
  21. //gosub back_to_future
  22. //gosub flashback
  23. //gosub fadeFromBlack
  24. ////////////////////////////////////////////////////
  25. :mainloop
  26.  
  27. if(grannygetyourgun)
  28.     {
  29.         setCharacterModel($,lazMA.dfm,grandmadress.cth)
  30.         flagoff(grannygetyourgun)
  31.     }
  32.  
  33. idle
  34. if(isCurrentSet(rr_xing.set))
  35.     gosub 1863_loop
  36. if(isCurrentSet(rr_xing_86.set))
  37.     gosub 1886_loop
  38.  
  39. goto mainloop
  40.  
  41. ////////////////////////////////////
  42. :1886_loop
  43. idle
  44. if(look_poster)
  45.     {
  46.              displayBitmap(POSTER2_LARGE.RAW,640,480,10)
  47.     }
  48.  
  49. if(better_view)
  50.     {
  51.         switchCamera(86rr_cam10)
  52.         wait(1)
  53.         cancelCameraHold
  54.     }
  55. if (isCurrentCamera(86rr_cam25) && player_may_exit && !last_cam_ghosts)
  56.     {
  57.              flagon(last_cam_ghosts)
  58.         PlaySFX(XXXGHOSTAPPEAR05.WAV)
  59.     }
  60. if (spawn_ghosts && (!ghost_sound))
  61.     {
  62.         PlaySFX(XXXGHOSTAPPEAR06.WAV)
  63.         flagon(ghost_sound)
  64.     }
  65. if (flashback_send  && hasItem(Old_Lantern))
  66.     {
  67.         gosub flashback
  68.         return
  69.     }
  70. if (exit_mission)
  71.     {
  72.         if(player_may_exit)
  73.                 {
  74.             SetAlphaFade(0.0,1.0,1.0, 0.0,0.0,0.0)
  75.             StartAlphaFade()
  76.             wait(2)
  77.             displayBitmap(SPLASH.RAW, 640, 480)
  78.  
  79.             deleteActor(ghost_respawn1)
  80.             deleteActor(ghost_respawn2)
  81.             deleteActor(ghost_respawn3)
  82.             deleteActor(ghost_respawn4)
  83.  
  84.             wait(3)
  85.  
  86.             idle
  87.             End
  88.         }
  89.         else
  90.             gosub turnaround86_A
  91.     }
  92. if (no_return)
  93.     {
  94.         gosub turnaround86_B
  95.     }
  96. if (shack_cam)
  97.     {
  98.         switchCamera(86_shack01)
  99.     }
  100. if (!shack_cam)
  101.     {
  102.         cancelCameraHold
  103.         enableCamera(86_shack01, false)
  104.     }
  105. if (talkToSteuben && RobinTimer)
  106.     {
  107.         gosub SteubenTalkLoop
  108.     }
  109. if (!seenRobin && !RobinTimer && TimerSet)
  110.     {
  111.         gosub seeRobin
  112.         fadeSFX(fuck, 0.45, 5)
  113.     }
  114. return
  115.  
  116. ////////////////////////////////////
  117. :1863_loop
  118. idle
  119. if(photolook)
  120.     {
  121.         displayBitmap(LOVELOST3.RAW, 640, 480, 3)
  122.         flagoff(photolook)
  123.     }
  124. if (!63sound)
  125.     {
  126.         gosub 63sound
  127.         flagon(63sound)
  128.     }
  129.  
  130. if (isDead(rebel1) && !rebel1_counted)
  131.     {
  132.         incCounter(DeadRebels)
  133.         flagon(rebel1_counted)
  134.     }
  135. if (isDead(rebel2) && !rebel2_counted)
  136.     {
  137.         incCounter(DeadRebels)
  138.         ResetInitialPos(Will_Newhouse)
  139.         setAIState(Will_Newhouse, Alert)
  140.         setVictim(Will_Newhouse)
  141.         flagon(rebel2_counted)
  142.     }
  143. if (isDead(rebel3) && !rebel3_counted)
  144.     {
  145.         incCounter(DeadRebels)
  146.         ResetInitialPos(Aaron_Mosely)
  147.         ResetInitialPos(Stanley_Moore)
  148.         setAIState(Aaron_Mosely, Alert)
  149.         setAIState(Stanley_Moore, Alert)
  150.         setVictim(Aaron_Mosely)
  151.         setVictim(Stanley_Moore)
  152.         flagon(rebel3_counted)
  153.     }
  154. if (isDead(rebel4) && !rebel4_counted)
  155.     {
  156.         incCounter(DeadRebels)
  157.         flagon(rebel4_counted)
  158.     }
  159. if (isDead(rebel5) && !rebel5_counted)
  160.     {
  161.         incCounter(DeadRebels)
  162.         flagon(rebel5_counted)
  163.     }
  164. if (cmp(DeadRebels == 5) && !flashback_called)
  165.     {
  166.         gosub back_to_future
  167.     }
  168. if (no_exit_west)
  169.     {
  170.         gosub turnaround63_A
  171.     }
  172. if (no_exit_east)
  173.     {
  174.         gosub turnaround63_B
  175.     }
  176.  
  177. return
  178.  
  179. ////////////////////////////////////////
  180. :back_to_future
  181.  
  182. allowEnemyAttack(false)
  183. allowHeroControls(false)
  184. holsterWeapon($)
  185. gosub 63_outro
  186.  
  187. idle
  188. fadeSfx(you, 0.0, 2)
  189.  
  190. setCharacterModel($,laz86.dfm,laz86cloth.cth)
  191. warpTo($, wp_flash_over)
  192. setInventoryIndex(0)
  193. flagon(player_may_exit)
  194.  
  195. playSFX(XBLAIRMUSIC11.WAV, fuck)
  196. fadeSfx(fuck, 0.3, 5)
  197.  
  198. deleteActor(ConfederateZombie0)
  199. deleteActor(ConfederateZombie1)
  200. idle
  201. warpTo(Steuben, WP_steuben_temp)
  202. //warpTo(Steuben_face, WP_steuben_temp)
  203. idle
  204. warpTo(Steuben, WP_SteubenSpawn)
  205. //warpTo(Steuben_face, WP_Steuben_face)
  206. //LookAt(Steuben_face, WP_Steuben_Face_Look)
  207. //flagon(Steuben_Mugshot)
  208. //warpTo(Steuben_face, -24.3835, 16.8604, -44.9104, -0.602419, 1.79479, 0)
  209.  
  210. idle
  211. resetGore()
  212. switchCamera(86rrcine07)
  213. cancelWalkTo($)
  214.  
  215. letterbox(true)
  216. gosub fadeFromBlack
  217. gosub cine_steuben
  218. gosub 86_camera_defaults
  219. gosub cleanup
  220.  
  221. allowHeroControls(true)
  222. allowEnemyAttack(true)
  223. flagOn (flashback_called)
  224. return
  225.  
  226. //////////////////////////////////
  227. :flashback
  228.  
  229. cancelCameraHold//cancelling and disabling shack close up camera
  230. enableCamera(86_shack01, false)
  231.  
  232. letterbox(true)
  233. idle
  234. setSkipLabel(pieceofshit)
  235. allowEnemyAttack(false)
  236. allowHeroControls(false)
  237. setFade(ConfederateZombie1, 0.0, 1.0, 1.5)
  238. setFade(ConfederateZombie0, 0.0, 1.0, 1.5)
  239.  
  240. walkTo($, WP_pre_flashback,1)
  241.  
  242. switchCamera(86_rr_cine01)
  243. warpTo(ConfederateZombie1, WP_Ghost_Spawn1)
  244. startFade(ConfederateZombie1)
  245. playSfx(HAUNT13.WAV)
  246. wait(2)
  247. TurnToFace($, WP_Ghost_Spawn1)
  248. walkTo(ConfederateZombie1, WP_Ghost_target1,1)
  249. idle
  250. LookAt($, ConfederateZombie1)
  251. wait(1)
  252. switchCamera(86_rr_cine02)
  253. warpTo(ConfederateZombie0, WP_Ghost_Spawn0)
  254. startFade(ConfederateZombie0)
  255. playSfx(HAUNT04.WAV)
  256. walkTo(ConfederateZombie0, WP_Ghost_target0,1)
  257. wait(3)
  258.  
  259. :pieceofshit
  260. idle
  261. fadeSfx(fuck, 0.0, 4)
  262. switchCamera(86rrcine09)
  263. wait(2)
  264.  
  265. idle
  266.  
  267. setAlphaFade (0.0,1.0,0.5,0.0,0.0,0.0)
  268. StartAlphaFade()
  269. idle
  270. PlaySFX(XXXTIMESWITCH02.WAV)
  271.  
  272. wait(1)
  273.  
  274. letterbox(false)
  275. cancelCameraHold
  276. gosub 86_camera_defaults
  277. holsterWeapon($)
  278. setCharacterModel($,laz63.dfm,laz63cloth.cth)
  279. warpTo($, wp_flash_start)
  280. setInventoryIndex(1)
  281. idle
  282. addItemToInventory($, Gun63)
  283. addItemToInventory($, Sword63)
  284. addItemToInventory($, Ammo_RR8)
  285.  
  286. deleteActor(flashback_trigger)
  287. idle
  288. enableCamera(63rrcine04, false)
  289. switchCamera(n_cam, 4)
  290. enableCamera(n_cam05, false)
  291.  
  292. setAlphaFade (1.0,0.0,1.0,0.0,0.0,0.0)
  293. StartAlphaFade()
  294. wait(1)
  295.  
  296. gosub 63sound
  297. gosub 63_intro
  298.  
  299. gosub cleanup
  300. allowHeroControls(true)
  301. allowEnemyAttack(true)
  302. letterbox(false)
  303. return
  304. //////////////////////////////////
  305. :turnaround63_A
  306. letterbox(bottom)
  307.  
  308. walkTo($, wp_no_exit3)
  309. dbSay(Response_laz01)
  310. letterbox(false)
  311.  
  312. gosub cleanup
  313. return
  314. //////////////////////////////////
  315. :turnaround63_B
  316. letterbox(bottom)
  317.  
  318. walkTo($, wp_no_exit4)
  319. dbSay(Response_laz04)
  320. letterbox(false)
  321.  
  322. gosub cleanup
  323. return
  324.  
  325. //////////////////////////////
  326. :turnaround86_A
  327. letterbox(bottom)
  328.  
  329. walkTo($, wp_no_exit2)
  330. dbSay(Response_laz07)
  331. letterbox(false)
  332.  
  333. gosub cleanup
  334. return
  335.  
  336. //////////////////////////////
  337. :turnaround86_B
  338. letterbox(bottom)
  339.  
  340. walkTo($, wp_no_exit1)
  341. dbSay(Response_laz03)
  342. letterbox(false)
  343.  
  344. gosub cleanup
  345. return
  346.  
  347. //////////////////////////////
  348. :cleanup
  349. setFocusActor($)
  350. cancelWalkTo($)
  351. cancelCameraHold
  352. return
  353.  
  354. //////////////////////////////////////////////////////
  355. :cine_steuben
  356.  
  357. idle
  358. PlaySFX(XBLAIRMUSIC33.WAV)
  359. PlaySFX(MEACCENT27.WAV)
  360. cancelWalkTo($)
  361. switchCamera(86rrcine07)
  362. letterbox(true)
  363. setSkipLabel(steuben_skip)
  364. dbstartsay(rr_steuben01A)
  365. wait(5)
  366. LookAt($, Steuben)
  367. slamModelToMotion($, getUpDustOff)
  368.  
  369. LookAt(Steuben, $)
  370. gosub cleanup
  371. switchCamera(86_rr_cine04)
  372. LookAt(Steuben_face)
  373. wait(.5)
  374. dbsay(rr_steuben01B)
  375. switchCamera(86_rr_cine06)
  376. wait(1)
  377. dbsay(rr_laz05)
  378. wait(1)
  379.  
  380. //LookAt($, Steuben)
  381. DeleteActor(Steuben_face)
  382. switchCamera(86rrcine08)
  383. wait(1)
  384. setAnimation(Steuben, Talk)
  385. idle
  386. dbstartsay(rr_steuben02)
  387. wait(4)
  388. setAnimation(Steuben, Stand)
  389. wait(9)
  390. dbsay(rr_laz06)
  391. wait(1)
  392.  
  393. dbsay(rr_steuben03)
  394. wait(1)
  395. TurnToFace($, Steuben)
  396. dbsay(rr_laz07)
  397. dbsay(rr_steuben04)
  398. dbsay(rr_laz08)
  399.  
  400. switchCamera(86_rr_cine05)
  401. setAnimation(Steuben, Talk2)
  402. idle
  403. dbstartsay(rr_steuben05A)
  404. wait(3)
  405. setAnimation(Steuben, Stand)
  406. wait(15)
  407. dbStartSay(rr_steuben05B)
  408. wait(3)
  409. LookAt(Steuben, WP_Ghost_target0)
  410. wait(2)
  411. LookAt(Steuben, $)
  412. wait(6)
  413.  
  414.  
  415. switchCamera(86rrcine08)
  416. wait(1)
  417. dbsay(rr_laz09)
  418. setAnimation(Steuben, Talk)
  419. idle
  420. dbstartsay(rr_steuben06A)
  421. wait(4)
  422. setAnimation(Steuben, Stand)
  423. wait(8)
  424. dbSay(rr_steuben06B)
  425. dbsay(rr_laz10)
  426. wait(1)
  427. dbsay(rr_steuben07)
  428.  
  429. idle
  430. :steuben_skip
  431. if(exists(Steuben_Face))
  432.     {
  433.         deleteActor(Steuben_face)
  434.     }
  435. slamModelToMotion($, Stand)
  436. setAnimation(Steuben, Stand)
  437. letterbox(false)
  438. idle
  439. gosub 86_camera_defaults
  440. idle
  441. setCounter(SteubenDialog, 1)
  442. setTimer(RobinTimer, 10)
  443. flagon(TimerSet)
  444. return
  445.  
  446. /////////////////////////////////
  447. :86_camera_defaults
  448. enableCamera(86_shack01, false)
  449. enableCamera(86_rr_cine01, false)
  450. enableCamera(86_rr_cine02, false)
  451. enableCamera(86rrcine09, false)
  452. enableCamera(86_rr_cine04, false)
  453. enableCamera(86_rr_cine05, false)
  454. enableCamera(86_rr_cine06, false)
  455. enableCamera(86rrcine07, false)
  456. //enableCamera(86rrcine08, false)
  457. return
  458.  
  459. ////////////////////////////////////////////////////////////////////////////////////
  460. :Sound
  461. If (!setSound)
  462. {
  463.         idle
  464.     playSfx(WIND08L.WAV, ENV_Wind)
  465.     playSFX(XBLAIRMUSIC11.WAV, fuck)
  466.     idle
  467.     fadeSfx(fuck, 0.4, 1)
  468.     Flagon(setSound)
  469. }
  470.  
  471. return
  472.  
  473. ////////////////////////////////////////////////////////////////////////////////////
  474. :63Sound
  475. {
  476.         idle
  477.     playSfx(WIND08L.WAV, ENV_Wind)
  478.     playSFX(XBLAIRMUSIC17.WAV, you)
  479.     idle
  480.     fadeSfx(you, 0.3, 1)
  481. }
  482. return
  483.  
  484. ////////////////////////////////////////
  485. :63_intro
  486.  
  487. letterbox(true)
  488. setCameraGroup(63rrcine01, 2)
  489. setCameraGroup(63rrcine02, 2)
  490. setCameraGroup(63rrcine03, 2)
  491. setCameraGroup(63rrcine04, 2)
  492. setCameraGroup(63rrcine05, 2)
  493. setCameraGroup(63rrcine05, 2)
  494. setCameraGroup(rebel_cam1, 2)
  495. setCameraGroup(signal_shack01, 2)
  496.  
  497. setSkipLabel(flash_skip2)
  498.  
  499. SetAIState(Stanley_Moore, Animation)
  500. SetAIState(Aaron_Mosely, Animation)
  501. SetAIState(Will_Newhouse, Animation)
  502.  
  503. dbSay(rr_laz01A)
  504. dbSay(rr_laz01b)
  505. wait(.5)
  506. dbSay(rr_laz01c)
  507. dbStartSay(rr_laz01d)
  508. walkTo($, wp_laz_stand, 1)
  509. walkTo(Aaron_Mosely, WP_aaron_stand, 1)
  510. walkTo(Stanley_Moore, WP_moore_stand, 1)
  511. walkTo(Will_Newhouse, WP_will_stand, 1)
  512. wait(7)
  513. dbSay(rr_laz01e)
  514.  
  515. switchCamera(63rrcine02)
  516. turnToFace(Stanley_Moore, Aaron_Mosely)
  517. idle
  518. LookAt(Stanley_Moore, Aaron_Mosely)
  519. wait(.25)
  520. cancelWalkTo(Stanley_Moore)
  521. setAnimation(Stanley_Moore,Talk)
  522. wait(2)
  523. waitFor(!IsTalking($))
  524.  
  525. dbsay(rr_moore01)
  526. turnToFace(Aaron_Mosely, Stanley_Moore)
  527. idle
  528. LookAt(Aaron_Mosely, Stanley_Moore)
  529. wait(.25)
  530. cancelWalkTo(Aaron_Mosely)
  531. setAnimation(Aaron_Mosely,Talk)
  532. dbsay(rr_mosely01)
  533. dbsay(rr_moore02)
  534. switchCamera(63rrcine03)
  535. dbsay(rr_mosely02)
  536. dbsay(rr_moore03)
  537.  
  538. setAnimation(Aaron_Mosely, Idle_neut)
  539. TurnToFace(Will_Newhouse, Stanley_Moore)
  540. idle
  541. dbsay(rr_newhouse01a)
  542. idle
  543. LookAt(Will_Newhouse, $)
  544. dbsay(rr_newhouse01b)
  545. LookAt(Stanley_Moore, $)
  546. TurnToFace(Aaron_Mosely, $)
  547. //SetAnimation(Aaron_mosely, stand_neut)
  548.  
  549. LookAt(rebel1, wp_rebel1_look_here)
  550. SetAIState(rebel1, Animation)
  551. SetAnimation(rebel1, swing)
  552. wait(1.5)
  553.  
  554. playSFX(XXXPICKAXE??.WAV)
  555. switchCamera(rebel_cam1, 3)
  556. wait(1)
  557. //switchCamera(63rrcine02)
  558. TurnToFace(Will_Newhouse, $)
  559. //cancelCameraHold
  560. //wait(2)
  561.  
  562. switchCamera(63rrcine04, 5)
  563. enableCamera(63rrcine04, false)
  564.  
  565. SetAnimation(rebel1, stand)
  566. idle
  567. cancelWalkTo(rebel1)
  568. idle
  569. SetAIState(rebel1,Alert)
  570. SetAIState(rebel2,Alert)
  571. SetAIState(rebel3,Alert)
  572.  
  573. idle
  574.  
  575. walkTo($, wp_laz_walk1, 1)
  576. wait(.5)
  577. cancelWalkTo($)
  578. dbsay(rr_laz02)
  579.  
  580. dbsay(rr_moore04)
  581. turnToFace($, Stanley_Moore)
  582.  
  583. setAnimation(Aaron_Mosely, Idle_neut)
  584. dbsay(rr_laz03)
  585. walkTo(Will_Newhouse, WP_Will_hide, 1, 1)
  586. turnToFace($, wp_laz_walk2)
  587. walkTo(Aaron_Mosely, WP_Mosely_hide, 1, 1)
  588. setAnimation(Stanley_Moore, stand)
  589. dbsay(rr_moore05)
  590. walkTo(Stanley_Moore, WP_Skunk_hide, 1, 1)
  591. cancelCameraHold
  592.  
  593. WaitFor(reachedDest(Aaron_Mosely))
  594. WaitFor(reachedDest(Stanley_Moore))
  595. WaitFor(reachedDest(Will_Newhouse))
  596. :flash_skip3
  597. cancelWalkTo(Aaron_Mosely)
  598. cancelWalkTo(Stanley_Moore)
  599. cancelWalkTo(Will_Newhouse)
  600.  
  601. WarpTo(rebel3, WP_rebel3_post)
  602.  
  603. TurnToFace(Aaron_Mosely, rebel1)
  604. TurnToFace(Stanley_Moore, rebel3)
  605. TurnToFace(Will_Newhouse, rebel2)
  606. wait(1)
  607. cancelWalkTo(Aaron_Mosely)
  608. cancelWalkTo(Stanley_Moore)
  609. cancelWalkTo(Will_Newhouse)
  610.  
  611. LookAt($)
  612. idle
  613. SetAIState(Aaron_Mosely, SupportStand)
  614. SetVictim(Aaron_Mosely, rebel3)
  615. SetAIState(Stanley_Moore, SupportStand)
  616. SetVictim(Stanley_Moore, rebel3)
  617. SetAIState(Will_Newhouse, SupportStand)
  618. SetVictim(Will_Newhouse, rebel2)
  619. SetVictim(rebel1)
  620. SetVictim(rebel3)
  621.  
  622. WarpTo(no_exit_west, WP_warp_trigger_here)
  623. WarpTo(Barrier37A, WP_barrier_37A)
  624. idle
  625. enableCameraGroup(2, false)
  626.  
  627. return
  628. //___________________________
  629. :flash_skip2
  630. idle
  631. letterbox(false)
  632. WarpTo($, wp_laz_walk1)
  633. WarpTo(Stanley_Moore, WP_Skunk_hide)
  634. WarpTo(Aaron_Mosely, WP_Mosely_hide)
  635. WarpTo(Will_Newhouse, WP_Will_hide)
  636. SetAIState(rebel1,Alert)
  637. SetAIState(rebel2,Alert)
  638. SetAIState(rebel3,Alert)
  639. goto flash_skip3
  640.  
  641. /////////////////////////////
  642. :63_outro
  643. gosub fadeToBlack
  644.  
  645. warpTo(Aaron_Mosely, WP_rendezvous_mosely)
  646. warpTo(Stanley_Moore, WP_rendezvous_moore)
  647. warpTo(Will_Newhouse, WP_rendezvous_Newhouse)
  648. warpTo($, WP_rendezvous_Laz)
  649.  
  650. turnToFace(Aaron_Mosely, $)
  651. turnToFace(Stanley_Moore, $)
  652. turnToFace(Will_Newhouse, $)
  653. turnToFace($, Will_Newhouse)
  654.  
  655. letterbox(true)
  656. setSkipLabel(skip_63_outro)
  657. idle
  658. switchCamera(63rrcine05)
  659. gosub fadeFromBlack
  660.  
  661. cancelWalkTo(Aaron_Mosely)
  662. cancelWalkTo(Stanley_Moore)
  663. SetAIState(Aaron_Mosely, Animation)
  664. SetAIState(Stanley_Moore, Animation)
  665.  
  666. setAnimation(Stanley_Moore,Talk)
  667. setAnimation(Aaron_Mosely, Stand_neut)
  668. LookAt(Aaron_Mosely, $)
  669. dbsay(rr_moore06)
  670. TurnToFace(Will_Newhouse, Stanley_Moore)
  671. dbsay(rr_newhouse02)
  672. LookAt(Will_Newhouse, Stanley_Moore)
  673. dbstartsay(rr_laz04)
  674. wait(1.25)
  675. WalkTo(Stanley_Moore, WP_end_run, 2, 2)
  676. dbsay(rr_moore07)
  677.  
  678. turnToFace($, WP_end_run)
  679. setFocusActor($)
  680. wait(.5)
  681. walkTo(Aaron_Mosely, WP_end_run, 2, 2)
  682. LookAt(Will_Newhouse)
  683. turnToFace(Will_Newhouse, WP_end_run)
  684. wait(1)
  685. walkTo(Will_Newhouse, WP_end_run, 2, 2)
  686. cancelWalkTo($)
  687. idle
  688. :skip_63_outro
  689.  
  690. PlaySFX(XXXTIMESWITCH01.WAV)
  691. gosub fadeToBlack
  692. letterbox(false)
  693. return
  694. /////////////////////////////
  695. :SteubenTalkLoop
  696.     if (cmp(SteubenDialog == 1))
  697.         {
  698.                 letterbox(true)
  699.             setskiplabel(skipsteub1)
  700.             dbSay(RR_LAZ11o1)
  701.             dbSay(RR_STEUBEN08o1a)
  702.             dbSay(RR_STEUBEN08o1b)
  703.             :skipsteub1
  704.             letterbox(false)
  705.             gosub cleanup
  706.             setTimer(RobinTimer, 5)
  707.         }
  708.     if (cmp(SteubenDialog == 2))
  709.         {
  710.                 letterbox(true)
  711.             setskiplabel(skipsteub2)
  712.             dbSay(RR_LAZ11o2)
  713.             wait(1)
  714.             dbSay(RR_STEUBEN08o2a)
  715.             dbSay(RR_STEUBEN08o2b)
  716.             dbSay(RR_STEUBEN08o2c)
  717.             dbSay(RR_STEUBEN08o2d)
  718.             :skipsteub2
  719.             letterbox(false)
  720.             gosub cleanup
  721.             setTimer(RobinTimer, 5)
  722.         }
  723.     if (cmp(SteubenDialog == 3))
  724.         {
  725.                 letterbox(true)
  726.             setskiplabel(skipsteub3)
  727.             dbSay(RR_LAZ11o3)
  728.             dbSay(RR_STEUBEN08o3a)
  729.             dbSay(RR_STEUBEN08o3b)
  730.             :skipsteub3
  731.             letterbox(false)
  732.             gosub cleanup
  733.             setTimer(RobinTimer, 5)
  734.         }
  735.     if (cmp(SteubenDialog == 4))
  736.         {
  737.                 letterbox(true)
  738.             setskiplabel(skipsteub4)
  739.             dbSay(RR_LAZ11o4)
  740.             dbSay(RR_STEUBEN08o4a)
  741.             dbSay(RR_STEUBEN08o4b)
  742.             :skipsteub4
  743.             letterbox(false)
  744.             gosub cleanup
  745.             setTimer(RobinTimer, 5)
  746.         }
  747.     if (cmp(SteubenDialog >= 5))
  748.         {
  749.                 letterbox(true)
  750.             dbSay(Response_Steuben04)
  751.             letterbox(false)
  752.         }
  753. incCounter(SteubenDialog)
  754. return
  755.  
  756. ///////////////////////////////
  757. :seeRobin
  758. letterbox(true)
  759. switchCamera(86_rr_cine04)
  760. wait(1)
  761. fadeSfx(robin_cries, 0.6, 0)
  762. playSfx(RR_ROBINCRYV3.WAV, robin_cries)
  763. wait(2)
  764. LookAt(Steuben, WP_Ghost_target0)
  765. //letterbox(bottom)
  766. dbsay(rr_steuben09)
  767.  
  768. warpTo(Robin_Weaver, WP_RobinSpawn)
  769. LookAt($, Robin_Weaver)
  770. wait(1.5)
  771. turnToFace($, WP_Toward_Robin)
  772. LookAt(Steuben, $)
  773.  
  774. walkTo(Robin_Weaver,WP_robin_target,2,1)
  775. wait(1)
  776. idle
  777. switchCamera(86rrcine08)
  778. idle
  779. slamModelToMotion($, Stand)
  780. wait(2)
  781. idle
  782. LookAt($)
  783. idle
  784. switchCamera(86_rr_cine04)
  785. idle
  786. deleteActor(Robin_Weaver)
  787. idle
  788. wait(2)
  789. cancelCameraHold
  790. SetFocusActor($)
  791. dbstartsay(rr_laz12)
  792. wait(1)
  793. walkTo($, WP_RobinSpawn,1,1)
  794. idle
  795. wait(1)
  796. PlaySFX(RESPONSE_STEUBEN01.WAV)
  797. //switchCamera(86rr_cam07)
  798. enableCamera(86rrcine08, false)
  799. idle
  800. WaitFor(reachedDest($))
  801. flagon (seenRobin)
  802. deleteActor(Steuben)
  803. //wait(3)
  804. letterbox(false)
  805. gosub cleanup
  806. return
  807.  
  808. ////////////////////////////////////////////////
  809. :fadeToBlack
  810.  
  811. setAlphaFade (0.0,1.0,0.5,0.0,0.0,0.0)
  812. StartAlphaFade()
  813. wait(.5)
  814.  
  815. return
  816.  
  817. ////////////////////////////////////////////////
  818. :fadeFromBlack
  819.  
  820. setAlphaFade (1.0,0.0,1.0,0.0,0.0,0.0)
  821. StartAlphaFade()
  822. wait(1)
  823.  
  824. return
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.